package com.sunsy.authserver.constants;

/**
 * @author 孙思远
 * @date 2021/7/19
 */
public interface ApiConstants {

    interface HEADER {
        String TOKEN = "assess_token";
    }

    interface PO {

        String ID = "id";
        String CREATED_BY = "created_by";
        String CREATED_BY_SIMPLE_NAME = "createdBy";
        String UPDATED_BY = "updated_by";
        String UPDATED_BY_SIMPLE_NAME = "updatedBy";
        String CREATED_TIME = "created_time";
        String CREATED_TIME_SIMPLE_NAME = "createdTime";
        String UPDATED_TIME = "updated_time";
        String UPDATED_TIME_SIMPLE_NAME = "updatedTime";
    }


    interface User {
        String EMAIL = "email";
        String USER = "user";
        String USER_ID = "id";
        String USER_NAME = "username";
        String TYPE = "type";
    }

}
